﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddCricInfo.aspx.vb" Inherits="CricketForum.AddCricInfo"  Async="true"%>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
       Add Cricket Information :
    </h2>
    <table width="100%">
        <tr>
            <td >
                Title
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="600px" MaxLength="255" ></asp:TextBox>
            </td>
             <td>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtTitle" ErrorMessage="Required Title" ValidationGroup="NewCricInfo" ></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td >
                Details
            </td>
            <td>
                <asp:TextBox ID="txtInformation" runat="server" Height="200px" 
                    TextMode="MultiLine" Width="600px"    ></asp:TextBox>
            </td>
             <td>

              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="ErrorMessage"
                    ControlToValidate="txtInformation" ErrorMessage="Required Description" ValidationGroup="NewCricInfo"></asp:RequiredFieldValidator>
            </td>
        </tr>      

        <tr>
            <td >
                Referance
                <br />
                (Add Urls or links here )</td>
            <td colspan="2">
                <asp:TextBox ID="txtReferance" runat="server" Height="39px" Width="600px" 
                    TextMode="MultiLine" ></asp:TextBox>
            </td>
           
        </tr>
       
        <tr>
            <td colspan="3"  style="text-align:center">
                <asp:Button ID="btnSave" runat="server" Text="Save Cricket Information"  ValidationGroup="NewCricInfo"  />
            </td>
        </tr>
    </table>
</asp:Content>